import os
import sys
import platform


def create_shortcut(target, shortcut_location):
    system = platform.system()
    if system == 'Windows':
        import winshell
        winshell.CreateShortcut(
            Path=shortcut_location,
            Target=target,
            Icon=(target, 0)
        )
